package com.test;

import redis.clients.jedis.Jedis;

public class JedisDemo {

	public static void main(String[] args) {
//		JedisPool pool = new JedisPool("47.100.222.132", 6379);
//		pool.getResource().has
		Jedis jedis = new Jedis("47.100.222.132", 6379);
		jedis.connect();
		//jedis.auth("")
		String str = jedis.get("a");
		System.out.println(str);
	}

}
